﻿namespace PLCS.Domain.Processes;

public interface IProcessRepository : IRepository<Process, Guid>
{
    Task<Process?> FindProcessByNoAsync(string ProcessNo);

    Task<Trigger> InsertTriggerAsync(Trigger trigger);

    Task<Trigger?> FindTriggerAsync(Func<Trigger, bool> predicate);
}